<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }
        input{
            outline: none;
        }
        input::placeholder {
            font-size: 14px;
            
        }
        .login_main:hover {
            font-size: 14px;
        }
    </style>
</head>
<body>
    <button>显示</button>
    <div class="lgoin_box" style="display: none; width: 100%; border: 1px solid #ccc; position: fixed; top: 150px; padding-bottom: 20px;">
        <div class="login_close" style="width:20px;height:20px;position: absolute; top: 0;right: 0;background-color: #ccc; text-align: center;line-height: 17px;color: #fff; border-radius: 50%;">x</div>
        <h3 style="font-weight: normal; width: 100%; height: 50px; background-color: #d43c33;line-height: 50px;text-align: center;color: #fff;">手机号登入</h3>
        <div class="login_content_box1" style="margin-top: 20px; text-align: center; width: 100%; height: 45px;line-height: 45px;background-color: #fff; font-size: 18px; color: #666;">
            手机:<input type="number" class="login_user" style=" border-radius: 10px; width: 70%;height: 40px;background-color: #ebecec;border: 0; " placeholder="请输入手机号">
        </div>
        <div class="login_content_box2" style="text-align: center; width: 100%; height: 45px;line-height: 45px;background-color: #fff; font-size: 18px; color: #666;">
            密码:<input type="password" style=" border-radius: 10px; width: 70%;height: 40px;background-color: #ebecec;border: 0; " placeholder="请输入密码">
        </div>
        <div class="login_main" style="width:60% ;height:40px;background-color: #d43c33; font-size: 18px;text-align: center;line-height: 40px; color: #fff; border-radius: 15px;margin-left: 80px; margin-top: 20px;">登入</div>
    </div>
    <script src="js/jquery.min.js"></script>
    <script>
        $("button").on("click",function(){
            $(".lgoin_box").stop().slideDown(500)
        })
        $(".login_close").on("click",function(){
            $(".lgoin_box").stop().slideUp(500)
        })
    </script>
</body>
</html>